/**********************************************************
 * File description:samplelibrary.h
 * Function:样本库管理类
 * Current Version: 1.0.0
 * Author: 王伟豪
 * Date: 2022-10-02
 *  -----
 *  Copyright by BoKun Software.
 **********************************************************/

#ifndef SAMPLELIBRARY_H
#define SAMPLELIBRARY_H

#include<QString>
#include<QDate>
#include <QCoreApplication>
#include<SqliteDriver.h>
#include<Constant.h>

class SampleLibrary
{
public:

    QString path;
    SqliteDriver * sqlD;

    SampleLibrary();
    ~SampleLibrary();
    void create(QString name, QString colorValue, QString remarks);
    void remove(QString id);
    void revise(QString id,QString name, QString colorValue, QString remarks);
    QList<QHash<QString,QString>> show();
};


#endif // SAMPLELIBRARY_H
